<?php

// ?_m=lite&module=core&name=serialize
$param = array(
		'options' => array(
			'module'=>'core',
			'controller'=>'layout',
			'action'=>'block-add'
		),
		'route' => 'admin',
		'type' => 'router',
		'reset' => 1,
		'label' => 'add block',
);

$data = array_merge(array(
		'options' => array(),
		'route' => 'default',
		'plugin' => '',
		'label' => '',
		'encode' => 1,
		'reset' => 1,
		'type' => 'url',
		'attribs' => array()
), $param);

echo serialize($data);
